<?
function get_data($count,$type){
	global $array_title;
	global $array_introduce;
	global $array_answer;
	if($count>=0 and $count<=count($array_title)-1 and $count<=count($array_introduce)-1 and $count<=count($array_answer)-1)
	{
      if($type==0){return $array_title[$count];}else if($type==1){return  $array_introduce[$count];}else if($type==2){return  $array_answer[$count];}
	}
	return "";
}
function index_get_data($index){
		if(file_exists('temple/index_'.(string)$index.'.html')){
			include 'temple/index_'.(string)$index.'.html';
		}else{
			die("超出范围哦");
		}
}
function index_html($index){
	$btn_title="提交";
	include 'index_header.php';
	index_get_data($index);
	include 'index_footer.php';
}
function load_html($load_js){
	include 'load.php';
}